using UnityEngine;
using QFramework;

namespace XCZProject
{
	public partial class HurtBox : GameplayObject
	{
		public GameObject Owner;
		
		private void Awake()
		{
			mCollieder2D = GetComponent<Collider2D>();
		}
		
		void Start()
		{
			// Code Here
			if (!Owner)
			{
				Owner = transform.parent.gameObject;
			}
		}
		
		private Collider2D mCollieder2D;
		protected override Collider2D Collider2D => mCollieder2D;
	}
}
